/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ucuenca.ec.nosql.modelos;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author mivkys
 */
public class Compras implements Serializable{

    private List<Carrito> carritos;
    private int Id;

    public Compras() {
        carritos = new ArrayList<>();
    }

    public Compras(List<Carrito> carrito) {
        this.carritos = carrito;
    }

    /**
     * @return the carritos
     */
    public List<Carrito> getCarritos() {
        return carritos;
    }

    /**
     * @param carritos the carritos to set
     */
    public void setCarritos(List<Carrito> carritos) {
        this.carritos = carritos;
    }

    /**
     * @return the Id
     */
    public int getId() {
        return Id;
    }

    /**
     * @param Id the Id to set
     */
    public void setId(int Id) {
        this.Id = Id;
    }

}
